package com.sdry.service.impl.lz;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.sdry.mapper.lz.LzProductTracingMapper;
import com.sdry.model.hpf.LineSideLibraryOut;
import com.sdry.model.lz.LzQueryCriteria;
import com.sdry.service.lz.LzProductTracingService;

/**
 * 
 * @ClassName LzProductTracingServiceImpl
 * @Description 产品追溯
 * @Author lz
 * @Date 2019年1月11日 09:37:13
 * @Version 1.0
 */
@Service
public class LzProductTracingServiceImpl implements LzProductTracingService{

	@Resource
	LzProductTracingMapper lzProductTracingMapper;

	@Override
	public List<LineSideLibraryOut> queryIndateByBatchNum(String batchNum) {
		return lzProductTracingMapper.queryIndateByBatchNum(batchNum);
	}

	@Override
	public List<LineSideLibraryOut> queryLineSideLibraryOut(LzQueryCriteria criteria) {
		return lzProductTracingMapper.queryLineSideLibraryOut(criteria);
	}

	@Override
	public int countLineSideLibraryOut(LzQueryCriteria criteria) {
		return lzProductTracingMapper.countLineSideLibraryOut(criteria);
	}

	@Override
	public List<LineSideLibraryOut> queryLineSideLibraryOutByBatchNum(String batchNum) {
		return lzProductTracingMapper.queryLineSideLibraryOutByBatchNum(batchNum);
	}
	
}
